package com.qijia.common.service.impl;

import java.util.List;

import com.qijia.common.dao.RoleDAO;
import com.qijia.common.domain.Role;
import com.qijia.common.service.RoleService;

public class RoleServiceImpl implements RoleService {

	RoleDAO roleDao = null;
	
	public void setRoleDao(RoleDAO roleDao) {
		this.roleDao = roleDao;
	}

	public List<Role> getAllRoles() {
		return roleDao.findAll();
	}

}
